<template>
  <div class="Footer">
    <div class="Footer-top">
      <dl>
        <dt>客户服务</dt>
        <dd>
          <router-link to="/">
            <el-icon class="top-icon"><ChatDotRound /></el-icon>
            <p>在线客服</p>
          </router-link>
        </dd>
        <dd>
          <router-link to="/">
            <el-icon class="top-icon"><QuestionFilled /></el-icon>
            <p>问题反馈</p>
          </router-link>
        </dd>
      </dl>
      <dl>
        <dt>关注我们</dt>
        <dd>
          <router-link to="/">
            <el-icon class="top-icon"><ChatLineRound /></el-icon>
            <p>公众号</p>
          </router-link>
        </dd>
        <dd>
          <router-link to="/">
            <el-icon class="top-icon"><Promotion /></el-icon>
            <p>Telegram</p>
          </router-link>
        </dd>
      </dl>
      <dl>
        <dt>下载APP</dt>
        <dd>
          <img src="../assets/images/qrcode.jpg" alt="" />
        </dd>
        <dd class="app-content">
          <p>扫描二维码</p>
          <p>立即下载APP</p>
          <el-button class="btn">下载页面</el-button>
        </dd>
      </dl>
      <dl>
        <dt>服务热线</dt>
        <p>400-0000-000</p>
        <div>周一至周日 8:00-18:00</div>
      </dl>
    </div>
    <div class="Footer-container">
      <div class="slogan">
        <nav class="link-wrap">
          <router-link to="/">价格亲民</router-link>
          <router-link to="/">物流快捷</router-link>
          <router-link to="/">品质保鲜</router-link>
        </nav>
      </div>
      <FooterCoperight />
    </div>
  </div>
</template>

<script>
export default {
  name: 'SFooter'
}
</script>

<script setup>
import FooterCoperight from './Footer-coperight.vue'
</script>

<style lang="less" scoped>
.Footer {
  min-width: 1240px;
  padding-top: 20px;
}
.Footer-top {
  display: flex;
  justify-content: space-between;
  width: 1240px;
  margin: 0 auto;
  padding: 60px 0 40px;
  img {
    width: 76px;
    height: 76px;
    margin-left: 9px;
  }
}
dl {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid #f2f2f2;
  color: #999;

  dt {
    font-size: 18px;
    color: #999;
    text-align: center;
  }
  dd {
    font-size: 14px;
    float: left;
    margin: 36px 17px 0;
    width: 92px;
    height: 82px;
    padding-top: 10px;
    border: 1px solid #ededed;
    a {
      color: #999;
    }
    .top-icon {
      font-size: 36px;
      margin-left: 27px;
    }
    p {
      text-align: center;
      margin-top: 20px;
    }
  }
  dd:hover .top-icon {
    color: #27ba9b;
  }
}
dl:last-of-type {
  border-right: 1px solid transparent;
  p {
    margin-top: 36px;
    padding-top: 20px;
    font-size: 22px;
    text-align: center;
    color: #666;
  }
  div {
    color: #999;
    text-align: center;
  }
}
.app-content {
  margin: 0;
  width: 120px;
  height: 84px;
  margin-top: 36px;
  padding-top: 5px;
  text-align: center;
  border: 1px solid transparent;
  .btn {
    background-color: #27ba9b !important;
    color: #fff;
    margin-top: 20px;
  }
  p {
    margin: 0;
  }
}

.Footer-container {
  min-width: 1240px;
  background-color: #333;
  .slogan {
    width: 1240px;
    margin: 0 auto;
    padding: 60px 100px;
    border-bottom: 1px solid #434343;
    a {
      color: #fff;
      font-size: 28px;
      flex: 1;
      text-align: center;
    }
  }
}
.link-wrap {
  display: flex;
}
</style>
